//
//  LYIntegrationHeaderView.m
//  artist
//
//  Created by Jay_Apple on 16/5/4.
//  Copyright © 2016年 viviyoo. All rights reserved.
//

#import "LYIntegrationHeaderView.h"

@interface LYIntegrationHeaderView ()


@property (weak, nonatomic) IBOutlet UILabel *Integration;

@end

@implementation LYIntegrationHeaderView


- (void)setIntegrationValue:(NSInteger)integrationValue{

    _integrationValue = integrationValue;
    
    self.Integration.text = [NSString stringWithFormat:@"%zd",_integrationValue];
}


/**
 *  签到
 */
- (IBAction)signBtnOnclick:(id)sender {
    
    if (self.block) {
        self.block();
    }
    
}

@end
